﻿using System;

namespace Framework.Poco
{
    /// <summary>
    /// 文章
    /// </summary>
    public class Article : NamedPoco
    {
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Created { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 访问量
        /// </summary>
        public int Hits { get; set; }

        /// <summary>
        /// 是否置顶
        /// </summary>
        public bool IsTopmost { get; set; }

        /// <summary>
        /// 作者
        /// </summary>
        public string Author { get; set; }

        /// <summary>
        /// 分页字数
        /// </summary>
        public long Breaks { get; set; }
    }
}
